package com.design.principle.demeter;

import java.util.ArrayList;
import java.util.List;

/**
 * @auther LiZiBa
 * @date 2020/8/2 11:44
 * @description:
 **/
public class Employee {

    public void countCoursesNumbers(){
        List<Course> courses = new ArrayList<>();

        for(int i=0; i<100; i++){
            courses.add(new Course());
        }
        System.out.println("共计课程:" + courses.size());
    }
}
